<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<button onclick="foo()">确定</button>
		<script>
			function foo() {
				alert('Hello, world!');
			}
		</script>
	</body>
</html>
